﻿
using A.M.ETO;
using DotNetCore.CAP;
using L.M.Review.Application.IServices;
using L.M.Review.Domain.DTO;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;

namespace L.M.Review.Read.API.Controllers
{
    [Route("api/[controller]")]
    [ApiController]
    public class Process_recordsController : ControllerBase
    {
        private readonly IProcess_recordsServices process_RecordsServices;
        public Process_recordsController(IProcess_recordsServices process_RecordsServices)
        {
            this.process_RecordsServices = process_RecordsServices;
        }

        /// <summary>
        /// 修改审批状态
        /// </summary>
        /// <param name="process_RecorfUpdInforDTO"></param>
        /// <returns></returns> 
        [HttpPost]
        public async Task<IActionResult> UpdInforProInfor(Process_RecorfUpdInforDTO process_RecorfUpdInforDTO)
        {
            return Ok(await process_RecordsServices.UpdInforProInfor(process_RecorfUpdInforDTO));
        }


    }
}
